package beautiful.butterfly.drds.binlog.operation;

import lombok.Getter;
import lombok.Setter;
import org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent;

public class OpeationEvent
{
    @Setter
    @Getter
    private PathChildrenCacheEvent pathChildrenCacheEvent;
    @Setter
    @Getter
    private OperationType operationType;

    public OpeationEvent(PathChildrenCacheEvent pathChildrenCacheEvent, OperationType operationType)
    {
        this.pathChildrenCacheEvent = pathChildrenCacheEvent;
        this.operationType = operationType;
    }


}
